package com.zmm.weblog.web.module.vo.article;

import com.zmm.weblog.web.module.vo.category.FindCategoryListRspVo;
import com.zmm.weblog.web.module.vo.tag.FindTagListRspVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindIndexArticlePageListRspVo {
    private Long id;
    private String cover;
    private String title;
    private LocalDate createDate;
    private String summary;
    /**
     * 文章分类
     */
    private FindCategoryListRspVo category;

    /**
     * 文章标签
     */
    private List<FindTagListRspVo> tags;
}